import Game from "./Game.js";


var cvs = document.getElementById('cvs');
var context = cvs.getContext('2d');

var game = new Game(context);
window.game = game;

game.init();
game.render();
game.update();
game.keyControl();

// setTimeout(() => {
//   game.render();
// }, 1000);